package define

import (
	"github.com/dgrijalva/jwt-go"
)

type UserClaim struct {
	Id       int
	Identity string
	Name     string
	jwt.StandardClaims
}

//秘钥
var JwtKey = "cloud-disk-key"

//授权密码 不是登录密码
var MailPassword = "WHJAXPDICKUZPAKC"

//var MailPassword = os.Getenv("WHJAXPDICKUZPAKC")

// CodeLength 验证码长度
var CodeLength = 6

//验证码过期时间
var CodeExpire = 300

//TencentSecretKey 腾讯云对象存储
var TencentSecretKey = "YrvlNlwsa4KMAj5C5jAMK4arthHdleJk"
var TencentSecretID = "AKIDta3HGzTiiSxDEzUklX3QghT0JMAjCQP8"

//var TencentSecretKey = os.Getenv("YrvlNlwsa4KMAj5C5jAMK4arthHdleJk")
//var TencentSecretID = os.Getenv("AKIDta3HGzTiiSxDEzUklX3QghT0JMAjCQP8")

var CosBucket = "https://getcharzp-1300549846.cos.ap-guangzhou.myqcloud.com"

//分页的默认参数
var PageSize = 20

var Datetime = "2006-01-02 15:04:05"
